package com.gangquan360.smartadmin.module.region.domain;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class RegionDTO {

	@ApiModelProperty("")
	private Long id;
	
	@ApiModelProperty("区域名称")
	private String name;

	@ApiModelProperty("区域上级标识")
	private Long pid;

	@ApiModelProperty("地名简称")
	private String sname;

	@ApiModelProperty("区域等级")
	private Integer level;

	@ApiModelProperty("区域编码")
	private String cityCode;

	@ApiModelProperty("邮政编码")
	private String yzCode;

	@ApiModelProperty("组合名称")
	private String mername;

	@ApiModelProperty("名称拼音")
	private String pinyin;
	
	@ApiModelProperty("下级地区列表")
	@JsonProperty("children")
	private List<RegionDTO> children;
}
